<div class="hp-tab-newprd">
        <ul class="j-sw-nav">
            <li class="newprd-s1 tab-li on"><a href="<?php echo base_path();?>retailstore/list">查看</a></li>
            <?php if(user_access('add retailstore')){ ?>
            <li class="newprd-s2 tab-li"><a href="<?php echo base_path();?>retailstore/add">添加</a></li>
            <?php }?>
        </ul>

    <div class="newprd-s1">
        <div class="table-div">
            <div class="search-div">
                <?php  print _address_render_for_list($form);  ?>
<!--                <div class="search-address-div">-->
<!--                    <div class="search-label">请输入地址:</div>--><?php //print render($form['address_fuzzy']); ?>
<!--                    <div class="search-label">或点选区域:</div>--><?php //print render($form['address']); ?>
<!--                    <div >（注：输入地址或点选省市县乡镇村地址，两种方式任选其一）</div>-->
<!--                </div>-->

                <div class="max-big-input"><div class="search-label">基层商姓名:</div><?php print render($form['retailname']); ?></div>
                <div class="small-select small-input"><div class="search-label">电话号码:</div><?php print render($form['telephone']); ?>
                <div class="small-select small-input"><div class="search-label">化肥品牌:</div><?php print render($form['brand']); ?></div>
<!--                <div class="small-select small-input">-->
<!--                    <div class="search-label">请选字段:</div>--><?php //print render($form['field']); ?>
<!--                </div>-->
<!--                <div class="small-select small-input">-->
<!--                    <div style="float: left; width: 200px"><div class="search-label">范围:</div>--><?php //print render($form['min_number']); ?><!--</div>-->
<!--                    --><?php //print render($form['max_number']); ?>
<!--                </div>-->
                <div class="search-submit"><?php print render($form['submit']); ?></div>
            </div>
            <img class="res-search" src='<?php echo base_path();?>sites/all/themes/tweme/images/images/res.png'>
            <div class="table-div">
                <?php print render($form['table']); ?>
            </div>
        </div>
    </div>
    <div class="newprd-s2" style="display: none;"><div class="table-div"><iframe marginwidth=0 marginheight=0 width=800px height=500 frameborder=0 scrolling="no" src="<?php echo base_path();?>retailstore/add/iframe"></iframe></div></div>
    <div class="newprd-s7" style="display: none;"><div class="table-div"><iframe marginwidth=0 marginheight=0 width=800px height=500 frameborder=0 scrolling="no" src=""></iframe></div></div>
</div>

<?php print drupal_render_children($form); ?>


